package endpoints.jaxws;


import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;


/**
 * JBossWS Generated Source
 * 
 * Generation Date: Fri Aug 17 00:22:10 BRT 2007
 * 
 * This generated source code represents a derivative work of the input to
 * the generator that produced it. Consult the input for the copyright and
 * terms of use that apply to this source code.
 * 
 * JAX-WS Version: 2.0
 * 
 */
@WebServiceClient(name = "Instances", targetNamespace = "http://endpoints/", wsdlLocation = "http://192.168.201.33:8080/NPWS/InstancesBean?wsdl")
public class Instances_Service
    extends Service
{

    private final static URL INSTANCES_WSDL_LOCATION;

    static {
        URL url = null;
        try {
            url = new URL("http://192.168.201.33:8080/NPWS/InstancesBean?wsdl");
        } catch (MalformedURLException e) {
            e.printStackTrace();
        }
        INSTANCES_WSDL_LOCATION = url;
    }

    public Instances_Service(URL wsdlLocation, QName serviceName) {
        super(wsdlLocation, serviceName);
    }

    public Instances_Service() {
        super(INSTANCES_WSDL_LOCATION, new QName("http://endpoints/", "Instances"));
    }

    /**
     * 
     * @return
     *     returns Instances
     */
    @WebEndpoint(name = "InstancesPort")
    public Instances getInstancesPort() {
        return (Instances)super.getPort(new QName("http://endpoints/", "InstancesPort"), Instances.class);
    }

}
